/*
 * MusicController.h
 *
 *  Created on: 2015-9-25
 *      Author: 10095427
 */

#ifndef MUSICCONTROLLER_H_
#define MUSICCONTROLLER_H_
#include "cocos2d.h"
USING_NS_CC;
class MusicController : public Ref{
public:
	MusicController();
	virtual ~MusicController();
	static MusicController* getInstance();
	virtual bool init();
	void effectPlay(const char* file);
	void effectEnable(bool isOpen);
	bool getEffectEnable();

private:
	bool m_isEffect;
};

#endif /* MUSICCONTROLLER_H_ */
